﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyThuChi
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void menuQuanLyThu_Click(object sender, EventArgs e)
        {
            main.Controls.Clear();
            QuanLyThu _quanlythu = new QuanLyThu();
            _quanlythu.Dock = DockStyle.Fill;
            main.Controls.Add(_quanlythu);
        }

        private void menuQuanLyChi_Click(object sender, EventArgs e)
        {
            main.Controls.Clear();
            QuanLyChi quanlychi = new QuanLyChi();
            quanlychi.Dock = DockStyle.Fill;
            main.Controls.Add(quanlychi);
        }

        private void menuQuanLyDVT_Click(object sender, EventArgs e)
        {
            frmQuanLyDVT _frm = new frmQuanLyDVT();
            _frm.ShowDialog();
        }

        private void menuQuanLyLoai_Click(object sender, EventArgs e)
        {
            main.Controls.Clear();
            QuanLyLoai quanlyloai = new QuanLyLoai();
            quanlyloai.Dock = DockStyle.Fill;
            main.Controls.Add(quanlyloai);            
        }
    }
}
